class AccessControl:
    def __setattr__(self, __name: str, __value) -> None:
        if __name == 'age':
            self.__dict__[__name] = __value + 10
            self.other = 99
        else:
            raise AttributeError(__name + ' not allowed')
